<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<!-- The examples use the SVN trunk so they always get the latest versoin --> 
<script src="http://moocanvasshadow.googlecode.com/svn/trunk/js/mootools-1.2-core.js" type="text/javascript"></script>
<script src="http://moocanvasshadow.googlecode.com/svn/trunk/js/moocanvas.js"></script>
<script src="http://moocanvasshadow.googlecode.com/svn/trunk/js/mooCanvasShadow.js"></script>

<script type="text/javascript">
<!--	

window.addEvent('domready',function(){
/*
	$('container').mooCanvasShadow({
		opacity: 0.1,
		size: 40,
		radius: 15,
		color: '#999999'
	});	
*/	
	$('shadow').mooCanvasShadow({
		opacity: 0.2,
		size: 10,
		radius: 15,
		color: '#333333'
	});	
	
	$('container').getElement('h1').mooCanvasShadow({
		opacity: 0.2,
		size: 10,
		radius: 15,
		color: '#333333'
	})
	
})

//-->
</script>

<style type="text/css">

h1 {
	background: white;
	margin: 0 0 50px 0;
	padding: 3px;
}



body {
	background: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	padding: 0;
	margin: 0;
}

#container {
	margin: 100px auto;
	width: 600px;
	padding: 40px;
}

#shadow {
	background: #FFF;
}


</style>

<title>MooCanvasShadow</title>
</head>
<body>

<div id="container">
	<h1>Shadow on images works too, and other elements like H1 !</h1>
	
	<img id="shadow" src="images/image.jpg" alt="This is an test image" width="300" height="224" />
</div>
</body>
</html>